home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1998 November / Freeware November 1998.img / dist / fw_msql.idb / usr / freeware / msql / tests / rtest.src / 1.out.z / 1.out
Text File  |  1998-10-27  |  3KB  |  132 lines

  1.  
  2. Welcome to the miniSQL monitor.  Type \h for help.
  3.  
  4.  
  5. mSQL >     ->     ->     ->     ->     ->     ->     ->     -> 
  6. Query buffer
  7. ------------
  8.  
  9.  
  10. create table staff (
  11.     first_name    char(10),
  12.     last_name    char(10),
  13.     dept        char(10),
  14.     staff_id    int,
  15.     height        real
  16. )
  17. [continue]
  18.     -> 
  19. Query OK.  1 row(s) modified or retrieved.
  20.  
  21.  
  22.  
  23.  
  24. mSQL >     ->     ->     ->     ->     ->     ->     ->     -> 
  25. Query buffer
  26. ------------
  27.  
  28. create table contact (
  29.     staff_id    int not null,
  30.     phone        char(15),
  31.     address        text(20)
  32. )
  33. [continue]
  34.     -> 
  35. Query OK.  1 row(s) modified or retrieved.
  36.  
  37.  
  38.  
  39.  
  40. mSQL >     ->     ->     ->     ->     ->     ->     ->     -> 
  41. Query buffer
  42. ------------
  43.  
  44. create table pay (
  45.     staff_id    int,
  46.     pay_date    date,
  47.     pay_time    time,
  48.     pay_amount    money
  49. )
  50. [continue]
  51.     -> 
  52. Query OK.  1 row(s) modified or retrieved.
  53.  
  54.  
  55.  
  56.  
  57. mSQL >     ->     ->     ->     ->     ->     ->     -> 
  58. Query buffer
  59. ------------
  60.  
  61. create table users (
  62.     staff_id    int,
  63.     uname        char(15)
  64. )
  65. [continue]
  66.     -> 
  67. Query OK.  1 row(s) modified or retrieved.
  68.  
  69.  
  70.  
  71.  
  72. mSQL >     ->     ->     ->     ->     ->     -> 
  73. Query buffer
  74. ------------
  75.  
  76. create table staff (
  77.     staff_id    int
  78. )
  79. [continue]
  80.     -> 
  81.  
  82. ERROR : Table "staff" exists
  83.  
  84.  
  85. mSQL >     ->     ->     ->     ->     ->     ->     -> 
  86. Query buffer
  87. ------------
  88.  
  89. create table fail (
  90.     staff_id    int,
  91.     staff_id    int
  92. )
  93. [continue]
  94.     -> 
  95.  
  96. ERROR : Duplicate field name 'staff_id'
  97.  
  98.  
  99. mSQL >     ->     ->     ->     ->     ->     ->     ->     ->     ->     ->     ->     ->     ->     ->     ->     ->     ->     ->     ->     ->     ->     ->     -> 
  100. Query buffer
  101. ------------
  102.  
  103. create table fail ( 
  104.     f1 int, f2 int, f3 int, f4 int, f5 int, 
  105.     f6 int, f7 int, f8 int, f9 int, f10 int,
  106.     f11 int, f12 int, f13 int, f14 int, f15 int,
  107.     f16 int, f17 int, f18 int, f19 int, f20 int,
  108.     f21 int, f22 int, f23 int, f24 int, f25 int,
  109.     f26 int, f27 int, f28 int, f29 int, f30 int,
  110.     f31 int, f32 int, f33 int, f34 int, f35 int,
  111.     f36 int, f37 int, f38 int, f39 int, f40 int,
  112.     f41 int, f42 int, f43 int, f44 int, f45 int,
  113.     f46 int, f47 int, f48 int, f49 int, f50 int,
  114.     f51 int, f52 int, f53 int, f54 int, f55 int,
  115.     f56 int, f57 int, f58 int, f59 int, f60 int,
  116.     f61 int, f62 int, f63 int, f64 int, f65 int,
  117.     f66 int, f67 int, f68 int, f69 int, f70 int,
  118.     f71 int, f72 int, f73 int, f74 int, f75 int,
  119.     f76 int, f77 int, f78 int, f79 int, f80 int,
  120.     f81 int, f82 int, f83 int, f84 int, f85 int,
  121.     f86 int, f87 int, f88 int, f89 int, f90 int
  122. )
  123. [continue]
  124.     -> 
  125.  
  126. ERROR : Too many fields in table (75 Max)
  127.  
  128.  
  129. mSQL >     -> 
  130. Bye!
  131.  
  132.